<?php
/* 
* @Author: LDF QQ 47121862
* @Date:   2014-05-29 08:40:07
* @Last Modified by:   LDF QQ 47121862
* @Last Modified time: 2014-06-07 13:47:57
*/
class AuthControl extends Control{
	public function __init(){
		// 做一些权限认证之类的事情
		if(!$_SESSION['user']['uid']) go(__ROOT__);
		// $data = M('user')->find($_SESSION['user']['uid']);
		// if($data['level']<1) go('Index/index');
		if($_SESSION['user']['level']<1) go(__ROOT__);
	}
}
